using System;
using System.Linq;
using System.Web.UI.WebControls;
using Churchtoolkit.Utils.ErrorProvider;
using Churchtoolkit.Web.Shell.Presenters;

namespace Churchtoolkit
{
    public partial class Default : Page<DefaultViewPresenter> , Churchtoolkit.Web.Shell.Views.IDefaultView
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                rptnews.DataSource = Presenter.GetTopNews();
                rptnews.DataBind();
            }
        }

        protected void testpopup_Click(object sender, EventArgs e)
        {
 
        }
    }
}